import {Company} from "@/entitys/base/company.entity";
import {Expose} from "class-transformer";
import {User} from "@/entitys/base/user.entity";

export class userInfoVo extends User {

    @Expose()
    companyInfo: Company;

    @Expose()
    declare phone: string;

    @Expose()
    declare name: string;

    @Expose()
    declare id: number;

    setCompany(companyInfo: Company) {
        this.companyInfo = companyInfo;
    }
}
